In database management, a “primary key” must be:
In database management, a “primary key” must be:
-
ক
Unique but may contain null values
-
খ
Unique and cannot contain null values
-
গ
Can contain duplicates but not nulls
-
ঘ
Neither unique nor not-null required
ডেটাবেজে প্রতিটি টেবিলের মধ্যে কিছু কলাম বা ফিল্ড থাকে যেমন ছাত্রদের টেবিলে Roll No, Name, Department ইত্যাদি। এখন, টেবিলের প্রতিটি সারিকে আলাদা করে শনাক্ত করার জন্য একটি বিশেষ কলাম দরকার হয় সেটিই হলো Primary Key। অর্থাৎ -প্রাইমারি কি (Primary Key) অবশ্যই অদ্বিতীয় (unique) হতে হবে এবং শূন্য (Null Values) মান রাখতে পারবে না।
The correct answer is:
✅ Unique and cannot contain null values
A primary key in a database must uniquely identify each record and must always have a valid (non-null) value.
In database management, a "primary key" must be unique and cannot contain null values.
The key properties of a primary key are:
Uniqueness: Each value in the primary key column(s) must be unique throughout the entire table. This ensures that every record can be distinctly identified.
Non-Nullability: A primary key field must always contain a value; it cannot be empty or null.
Additionally, best practices suggest that a primary key should be:
Stable/Immutable: Its values should not change over time, as changing a primary key can cause referential integrity issues in related tables.
Minimal: It should consist of the minimum number of attributes necessary to ensure unique identification.
Related Question
View All-
ক
Relation
-
খ
Entry
-
গ
Primary key
-
ঘ
Foreign Key
-
ক
Foreign key
-
খ
Unique
-
গ
Identical
-
ঘ
Case sensitive
১ ক্লিকে প্রশ্ন, শীট, সাজেশন ও
অনলাইন পরীক্ষা তৈরির সফটওয়্যার!
শুধু প্রশ্ন সিলেক্ট করুন — প্রশ্নপত্র অটোমেটিক তৈরি!
Related Question
Question Analytics
মোট উত্তরদাতা
জন